package com.qianfeng.openapi.service;

import com.github.pagehelper.PageInfo;
import com.qianfeng.openapi.pojo.Customer;

import java.util.List;

public interface CustomerService {
    void insertCustomer(Customer customer);

    PageInfo<Customer> selectCustomerWhere(int page, int limit, Customer customer);

    void updateCustomer(Customer customer);

    void deleteCustomer(int[] ids);

    Customer selectCustomerById(int id);

    List<Customer> getAllCustomer();

    void addMoney(Long money, Integer id);
}
